<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>党建后台</title>
    <meta name="keywords"  />
    <meta name="description"  />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/identify.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/layout.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/account.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/style.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/control_index.css" />
    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/index.css" />

    <link rel="stylesheet" type="text/css" href="/dangjian/Public/Admin/Css/page.css" />

    <script type="text/javascript" src="/dangjian/Public/Admin/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/dangjian/Public/layui/layui.js"></script>
    <script type="text/javascript" src="/dangjian/Public/Admin/Js/layer/layer.js"></script>
    <script type="text/javascript" src="/dangjian/Public/Admin/Js/haidao.offcial.general.js"></script>
    <script type="text/javascript" src="/dangjian/Public/Admin/Js/select.js"></script>
    <script type="text/javascript" src="/dangjian/Public/Admin/Js/haidao.validate.js"></script>
</head>

<body>
<div class="view-topbar">
    <div class="topbar-console">
        <div class="tobar-head fl">
            <a href="#" class="topbar-logo fl">
                <span><img src="/dangjian/Public/Admin/Images/logo.png" width="20" height="20"/></span>
            </a>
            <a href="<?php echo U('Index/index');?>" class="topbar-home-link topbar-btn text-center fl"><span>管理控制台</span></a>
        </div>
    </div>
    <div class="topbar-info">
        <ul class="fr">
            <li class="fl dropdown topbar-notice topbar-btn">
                <a href="#" class="dropdown-toggle">
                    <span class="icon-notice"></span>

                    <!--have表示有消息，没有消息去掉have-->
                </a>
            </li>
            <li class="fl dropdown topbar-notice topbar-btn">
                <a href="/dangjian" class="topbar-btn"><span class="fl text-normal">前台首页</span></a>
            </li>

            <li class="fl topbar-info-item">
                <div class="dropdown">
                    <a href="#" class="topbar-btn">
                        <span class="fl text-normal"><?php echo ($_SESSION['admin']['name']); ?></span>
                        <span class="icon-arrow-down"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo U('Login/loginout');?>">退出</a></li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>
</div>
<div class="view-body">
    <div class="view-sidebar">
        <div class="sidebar-content">
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">用户管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;" >
                    <li>
                        <a href="<?php echo U('User/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">用户列表</span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('User/userCatePower');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">用户类型权限列表</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">账号级别管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Goods/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">产品列表</span>
                        </a>
                    </li>

                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">首页banner管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Order/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">图片管理</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">文章管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Article/sort');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">分类管理</span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('Article/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">文章列表</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">评论管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Comment/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">评论列表</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">党费管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Fee/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">党费总额</span>
                        </a>
                    </li>

                    <li>
                        <a href="<?php echo U('Fee/totalFee');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">党费缴纳记录</span>
                        </a>
                    </li>
                </ul>


            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">捐款管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Donation/itemList');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">捐款项目管理</span>
                        </a>
                    </li>

                    <li>
                        <a href="<?php echo U('Donation/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">捐款记录按项目</span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('Donation/queryAllListByYear');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">捐款统计按年份</span>
                        </a>
                    </li>
                </ul>


            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">党员转出管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;">
                    <li>
                        <a href="<?php echo U('Seckill/index');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">申请记录</span>
                        </a>
                    </li>
                </ul>


            </div>
            <div class="sidebar-nav sidebar-nav-fold">
                <div class="sidebar-title">
                    <a href="#">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">管理员管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans"style="overflow: hidden; display: none;" >
                    <li>
                        <a href="<?php echo U('User/adminUserList');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">管理员列表</span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('User/add');?>">
                            <b class="sidebar-icon"><img src="/dangjian/Public/Admin/Images/icon_order.png" width="16" height="16" /></b>
                            <span class="text-normal">添加管理员</span>
                        </a>
                    </li>
                </ul>

            </div>
            </div>
        </div>
    </div>
    
    <div class="view-product" style="margin-top: 50px">
        <div class="info-center">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con"><?php echo ($title); ?></h6>
            </div>
            <div class="offcial-table input-table table-margin clearfix">
                <?php if($feeList == null): ?><div class="tr non-info show border-bottom-none">
                        <span>没查询到符合条件的记录</span>
                    </div>
                    <?php else: ?>
                    <table class="layui-table text-center">
                        <tr>
                            <th class="text-center">ID</th>
                            <th class="text-center">缴纳人</th>
                            <th class="text-center">金额</th>
                            <th class="text-center">缴纳时间</th>
                            <th class="text-center">缴纳至</th>
                        </tr>
                        <?php if(is_array($feeList)): foreach($feeList as $k=>$vo): ?><tr>
                                <td><?php echo ($vo["id"]); ?></td>
                                <td><?php echo ($vo["name"]); ?></td>
                                <td><?php echo ($vo["price"]); ?></td>
                                <td><?php echo substr($vo['create_time'],0,7);?></td>
                                <td><?php echo substr($vo['effect_time'],0,7);?></td>
                            </tr><?php endforeach; endif; ?>
                        <tr>
                            <td colspan="5"><div class="sabrosus"><?php echo ($page); ?></div></td>
                        </tr>
                    </table><?php endif; ?>

            </div>
        </div>
        <div class="show-page padding-big-right hidden">
            <div class="page">
            </div>
        </div>
    </div>


</div>

<script>
    $(".sidebar-title").live('click', function() {
        if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
            $(this).next().slideDown(200);
            $(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
        } else {
            $(this).next().slideUp(200);
            $(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
        }
    });
</script>
</body>

</html>